public class  Random50{
 public static void main(String[] arges){
    int randomNum = (int)(Math.random() * 50)+1;
    System.out.print("随机数:"+randomNum);
 }
}